Just so. The taliban (a tiny organisation) declared war on the US. The US in retaliation invades Afghanistan and has declared war on its population. Next, Afghanistan declares war on the US.But, I repeat:
If you dont want to get pissed on, don't declare war on somebody.