From OGame Wiki
When a player receives an agressive fleet in his planet, a combat automatically begins. The owner of the planet is the one who defends. In this action, the Defense and Fleet placed in the planet combat against the fleet of the attacker.