Note that "stock prices" don't exist as a generalized statement. Individual stocks exist, and some of those may be at a record high, but most stocks aren't. Are you thinking of "these are the highest value companies we could aggregate" index funds, like the S&P 500 or the like?
As for the answer: because any unregulated commodity market will see that commodity priced based on demand, and demand creates demand.
As for the answer: because any unregulated commodity market will see that commodity priced based on demand, and demand creates demand.