The TVC (Thrust Vector Control) on the engines is super-responsive/fast. Really impressive gimballing.

Honestly thought "Yikes" when that first Raptor shutdown during SN8 and swung the nozzle outwards. Nope - by design! And that's how they can do the flip.

— Chris B - NSF (@NASASpaceflight) March 7, 2021