Initially this Bitcoin did not have a price, but when reading the history of the beginning of Bitcoin being exchanged for Pizza that's where Bitcoin has a price.
And unexpectedly, it turns out that the more people who are interested in Bitcoin, the more people who want to have it.
Seeing the very high demand for Bitcoin, Bitcoin holders then offered their Bitcoins at very high prices.