You are describing the theoretical financial concept of 'Arbitrage', which represents a situation where you can buy something in one market and instantly sell at another market for a premium, with no risk to yourself.
There are basically two potential causes for the appearance of arbitrage:
The markets are immature / with low liquidity, and there are no other traders aware of how take advantage of it. For any markets that are publicly available online, the chance of this existing these days is rare. Fractions of a penny might be available to be scooped up in some cases for a moment in time, but given the automation of trading algorithms, by the time you see theoretical arbitrage yourself as a retail trader, rest assured that the opportunity will soon 'self-correct'.
There are hidden risks or costs that you are ignoring or discounting when comparing costs. For example, does one of your exchanges have some type of ongoing problems? Maybe issues withdrawing cash, etc.? Note as an interesting example here, that some crypto exchanges accept so-called 'stable-coins' as hidden alternatives to USD - in such cases, when something like USDT becomes volatile, some exchanges may display different "USD:BTC" exchange rates, because one exchange trades only in USD, and one [semi-transparently] trades in USD or USDT. Well anyway, that's the joy of trading crypto outside of proper financial regulation, enjoy!