I'm not sure but I feel like the spike's collider is bigger than it's displayed on the screen, meanwhile, the switch's is smaller.
Anyway, you did a good job! It's not so easy to create a platformer game, especially within a 48h time limit, which contains too many technical details.
I hope you enjoyed the jam.