If you complete the climbing on the wall, Knuckles or Bluckles will step up and their contact sensors collide with the spikes.
I think it is the correct behaviour.