Because they pull attention away from the actual work. Students who start gaming instead of studying tend to fall behind, and that's the whole objection.
Schools treat them as a distraction, and in a room full of people who are supposed to be working, that's a reasonable call.