Planets are unfortunately, vulnerable targets, while planetary destroying weapons like the Death Star are probably impractical, a star faring civilization could probably create planetary extinction level events depressingly easily, now if the defender is a star faring civilization they might be able to survive the wasteland but it would surely pay a heavy economic toll. This makes interplanetary warfare scary, with more Cold War style intrigue than war