It’s because Hoopa’s model is so complicated and detailed (for a Pokémon). The DS’ hardware isn’t good at rendering such complex models and the game slows down. Weather will also decrease the frame rate. The amount of work the DS has to do to render the battle increases with each object you add.