Reason why they fired is immaterial. The fact that they opened fire on a United States installation is enough to complete the act. The South started war.
Firing back at someone who has fired at you is what any rational person would do. Lincoln issued orders to fire on them before they ever decided to fire on Ft Sumter.