You are right. It is called trade spoofing,. It is illegal.Then the SEC finds out. You get banned and fined.
("Spoofing is an illegal form of market manipulation in which a trader places a large order to buy or sell a financial asset, such as a stock, bond or futures contract, with no intention...