The intent was that you have to get the snack from inside the chest, and that unlock the door for you :).
I agree. I originally planned to have the platforms animated, but I was having trouble figuring out how to get it to work, so I had to cut it. Maybe I'll have it figured out for next time lol.