That there was collateral damage is unfortunate, but Israel was definitely not indiscriminately targeting civilians, which is what would make it terrorism.
This was a surgical strike that happened to have some unfortunate collateral damage. Well within the accepted rules of war.