It's most likely just your computer or connection. Lag like that tends to happen from time to time, and it's often down to your device struggling to keep up rather than the game itself. Try closing background programs, lowering the graphics quality in settings, or checking your internet speed to see if that smooths things out.