Minecraft wiki entry for Damage, associated text: If a rocket crafted with a firework star is used to provide a speed boost while gliding with elytra, it explodes as it is used, dealing 7 damage to the player.