The first person who creates the pool and adds liquidity to it determines the initial price. Users who do external arbitrage trading will ensure the conversion of price to reason range if the price set is not reasonable.