The price on the screen is not the price you are agreeing to. A quoted price is a report of where the security recently traded or where someone is currently willing to deal. A market order is an instruction to trade at whatever is available when the order arrives, which is a moment later and can be a different number. Nothing has gone wrong when those differ. The order was an instruction about speed rather than about price, and it was carried out.
There are two separate reasons the executed price can differ, and they behave differently. The first is the spread, the standing gap between what buyers are offering and what sellers are asking, which means a buyer and a seller trading at the same instant get slightly different prices. That gap is a cost of trading and it is present on every trade regardless of order type. The second is movement, the price changing between the moment you press the button and the moment the order is filled. The spread is predictable and can be seen in advance; movement is not, and it is largest precisely when the market is unsettled.
Which is why the conditions that prompt trading are the conditions in which a market order costs most. Three recur. A thinly traded security has fewer resting orders, so a modest order can reach prices well away from the last quote. The opening and closing minutes of a session concentrate order flow and can produce prices that settle down shortly afterward. And news, by construction, arrives at a moment when the previous quote has stopped describing anything. Our page on exchange-traded funds sets out the practical response for fund trades, which is to use limit orders and avoid the first and last minutes, and there is no reason to restate it here.
The instruction is about urgency, so the honest question is whether you are actually in a hurry. A market order is the right instrument when the trade needs to happen and a few cents either way is immaterial, which describes a great many ordinary purchases of broad, heavily traded funds. It is the wrong instrument when the security is illiquid, the order is large relative to normal volume, or the price matters more than the timing. The choice is not a matter of sophistication. It is a matter of which of the two risks would actually bother you.
A second default hides behind the first. The SEC notes separately that unless an investor specifies a time frame for expiration, orders to buy and sell a stock are day orders, good only during that trading day. A market order is normally filled immediately so the duration rarely comes up, but the same button that assumes urgency about price also assumes a decision about time, and both were made by the platform rather than by the investor.