I think the reason for the bug with the spikes is because i found it annoying that when your balloon pops you die from the same spike immediately after and that destroyed the point of the balloon being a shield so i added a cooldown to the spikes but i guess the cooldown was a bit too long.
It does end but i used OnTriggerEnter so if you entered the collider before the cool down ends which i think it was about 0.2s then it isnt considered enterd anymore so the player collider whould have to exit the spike then enter again for you to die.