Well
The orange obstacles damage you IF YOU'RE NOT MOVING AND JUMPING BOTH.
Maybe that's too confusing, but you have to be moving to the right/left AND jumping in order for them not to hit you. If you instantly move left and right while not taking your fingers off of the left/right keys, they will not hit you but you will stay relatively in the same spot.
Do you think I should change that? I've had a few other people be confused by that as well. If I changed that to only moving OR jumping, then I'll get rid of the red obstacles I guess.