The platforms are glitched, so if there are walls near them while your on a platform you might get killed if you jump, I think the game mistakenly thinks that you're crushed by it, but if that's really the reason, not sure.