In order to have a transaction of cryptocurrency, stock, minerals, regular currency, or any other openly traded good, you need two things: A willing buyer and a willing seller. They will agree on a price they both think is fair, and the transaction will happen. That's all there is to it, formally.
So the price of a good is at any point in time exactly where there are both buyers and sellers who find the price fair (at least for things that are sold and bought lots of times per day, so that both buyers and sellers are informed on what other people think, and thus develop a sense of what's fair).
Note that sellers have in mind what they paid for the thing (which is irrational, but such is humanity), and what they could potentially get out of it if they sell at a later date instead. Buyers think about what they can get for it at a later date.
This means that they will both try to think hard about what the general market will think is a fair price in the future, and they will let that play a big role in what they think is fair today.