Can anyone please tell me why after I torch the 7 blue butterflies without touching the red ones the treasure chest falls down I go to open it & it won't open

am I am doing something wrong?