Enemies stop attacking and moving after player respawns, how come?

Ok thank you.