>Germany attacked France in July 1870
It was France that declared war on Germany.
It was France that declared war on Germany.
And because Prussia mobilized much more effectively, it attacked France first.
You are right that behind words like "attack" or "Germany" they are complex human interactions that are hard to understand in retrospect, but I fell obligated to push that discussion a little further: https://en.m.wikipedia.org/wiki/Ems_Dispatch
Have a good day.