Some of the snakes bug out because of how the game spawns them, but the game internally detects if the head of the snake is between the 2 hands when they are grabbing the same snake.
Some snakes won't budge because there are extra steps you need to do (for example, you have to blow the candles of the cake snake before being able to free it)