When the player is in spectator mode, move doesn't move(they can turn on themselves) and doesn"t spawn.
Related issues
is duplicated by
Attachments
Comments

[media]
Probably intentional I would guess - mobs only move or spawn if a player is within a certain distance of them - a spectator is supposed to be invisible so that logic isn't kicking in with them.