Very much the latter. Another comparable example is the accidental US bombing of the Chinese embassy in Belgrade[0] - almost no one in the US (or much of the rest of the world) even remembers this incident, but to this day China still treats it as an example of US imperialism/hostility.
[0] https://en.wikipedia.org/wiki/United_States_bombing_of_the_C...