It's not. They're completely unrelated. No. Knuckles broke the pipes because they were obstacles in a video game and travelling through them got him from point A to point B. Egg Robo threw the bomb at the end of the level, something Knuckles had no idea would happen.