Two servo motors not rotating, but heating up

Verify this servo works alone, without any extra code. Find the "servo sweep" sketch in IDE >> File >> Examples >> Built-In Examples >> (somewhere in there).

The shield looks like the V2 Elegoo shield, used for a different kit. Verify your batteries are charged.