Because it's similar to gold mining in that the bitcoins exist in the protocol's design (just as the gold exists underground), but they haven't been brought out into the light yet (just as the gold hasn't yet been dug up). The bitcoin protocol stipulates that 21 million bitcoins will exist at some point. What "miners" do is bring them out into the light, a few at a time.
But not everyone is going along for the ride. Back in East Wenatchee, Miehe is giving me an impromptu tour of the epicenter of the basin’s boom. We drive out to the industrial park by the regional airport, where the Douglas County Port Authority has created a kind of mining zone. We roll past Carlson’s construction site, which is swarming with equipment and men. Not far away, we can see a cluster of maybe two dozen cargo containers that Salcido has converted into mines, with transformers and cooling systems. Across the highway, near the new, already-tapped out substation, Salcido has another crew working a much larger mine. “A year ago, none of this was here,” Miehe says. “This road wasn’t here.”
The first set of data you will want to use for discovering if Bitcoin mining can be profitable for you or not is the following but not limited to: cost of Bitcoin ASIC miner(s), cost of electricity to power miner (how much you are charged per kwh), cost of equipment to run the miner(s), cost of PSU (power supply unit), cost of network gear, cost of internet access, costs of other supporting gear like shelving, racks, cables, etc., cost of building or data center if applicable. Continue Reading ➞
No one was more surprised than the miners themselves. By the end of 2017, even with the rapidly rising difficulty, the per-bitcoin cost for basin miners was around $2,000, producing profit margins similar to those of the early years, only on a vastly larger scale. Marc Bevand, a French-born computer scientist who briefly mined in the basin and is now a tech investor, estimates that, by December, a hypothetical investor who had built a 5-megawatt mine in the basin just four months earlier would’ve recovered the $7 million investment and would now be clearing $140,000 in profit every 24 hours. “Nowadays,” he told me back in December, miners “are literally swimming in cash.”
Bitcoin's price is also quite dependent on the size of its mining network, since the larger the network is, the more difficult – and thus more costly – it is to produce new bitcoins. As a result, the price of bitcoin has to increase as its cost of production also rises. The Bitcoin mining network's aggregate power has more than tripled over the past twelve months.
Bitcoins can be accepted as a means of payment for products sold or services provided. If you have a brick and mortar store, just display a sign saying “Bitcoin Accepted Here” and many of your customers may well take you up on it; the transactions can be handled with the requisite hardware terminal or wallet address through QR codes and touch screen apps. An online business can easily accept bitcoins by just adding this payment option to the others it offers, like credit cards, PayPal, etc. Online payments will require a Bitcoin merchant tool (an external processor like Coinbase or BitPay). 
While heat is definitely an issue for the mining farm in Ordos, the electricity there is dirt cheap, only 4 U.S. cents per kilowatt-hour, with government subsidies. That’s about one-fifth of the average price in the United Kingdom. The only other costs for the facility are the rigs themselves and the salary of the few dozen staff that keeps them operational.

Benny: The Rogue Miner “Benny,” a self-taught, 20-something computer whiz, set up three mining servers in his Wenatchee home last summer. Since then he has made enough profit not only to recover his initial investment but also to pay his monthly mortgage. As a bonus, the heat from the computers keeps his home heated all winter. “It’s just basically free money,” says Benny, pictured here with his homemade mining operation. | Patrick Cavan Brown for Politico Magazine
The primary purpose of mining is to allow Bitcoin nodes to reach a secure, tamper-resistant consensus. Mining is also the mechanism used to introduce bitcoins into the system. Miners are paid transaction fees as well as a subsidy of newly created coins, called block rewards. This both serves the purpose of disseminating new coins in a decentralized manner as well as motivating people to provide security for the system through mining.
The first wallet program, simply named Bitcoin, and sometimes referred to as the Satoshi client, was released in 2009 by Satoshi Nakamoto as open-source code.[10] In version 0.5 the client moved from the wxWidgets user interface toolkit to Qt, and the whole bundle was referred to as Bitcoin-Qt.[99] After the release of version 0.9, the software bundle was renamed Bitcoin Core to distinguish itself from the underlying network.[100][101]

To be accepted by the rest of the network, a new block must contain a so-called proof-of-work (PoW).[64] The system used is based on Adam Back's 1997 anti-spam scheme, Hashcash.[5][79] The PoW requires miners to find a number called a nonce, such that when the block content is hashed along with the nonce, the result is numerically smaller than the network's difficulty target.[3]:ch. 8 This proof is easy for any node in the network to verify, but extremely time-consuming to generate, as for a secure cryptographic hash, miners must try many different nonce values (usually the sequence of tested values is the ascending natural numbers: 0, 1, 2, 3, ...[3]:ch. 8) before meeting the difficulty target.
Though transaction fees are optional, miners can choose which transactions to process and prioritize those that pay higher fees.[67] Miners may choose transactions based on the fee paid relative to their storage size, not the absolute amount of money paid as a fee. These fees are generally measured in satoshis per byte (sat/b). The size of transactions is dependent on the number of inputs used to create the transaction, and the number of outputs.[3]:ch. 8