Typically, this behavior is caused by lag. Lag is the delay that happens since the player sends the “action” (shoot, run, buy) to when he/she receives the “reaction” of the server (shoot the bullet, deliver a purchase)!
An online game requires it to be maintained on a central server in order to avoid inconsistencies between individual clients (players with their devices). As such, the client has no direct control over the central game state, and can only update the local game state by receiving updates from the server.
This need to communicate causes a delay between the clients and the server, and is the fundamental cause behind lag. While there may be numerous underlying reasons for why a player experiences lag, they can be summarized as insufficient hardware in the client, internet issues, or a poor connection between the client and server.
Therefore, we advise you to try using different internet connections and even restarting the device when this kind of issue happens. Also, closing other apps working on the background, turning off the Battery Saving mode, and making sure your device has enough free memory can help improving the game's performance.