Because altcoins are not only technology, but also money.
At the stage of initial sales, almost all altcoins cost several times less than now, that is, during the initial sales, their number was limited, because of which this created an increased demand for them.
Demand exceeded supply, and on public sales and listings, the price flies up because money is invested in technology.