I've noticed that when something goes wrong, people have a tendency or a bias to associate its cause with a recent event. The following may not be a great example but here goes.
Imagine a game of Jenga where players remove blocks from a tower. Early in the game I remove two blocks from near the bottom of the stack, destabilizing the foundation of the tower. We have some skilled players so we manage to make it four or five more moves before the tower falls. Although I destabilized the tower from the beginning, there will be those who perceive that the move prior to the last one was the main contributing factor.
I ask because this is a pattern that I see in my job and I'm trying to communicate it to someone. We see projects fail because the foundation work done months prior was not of good quality. Nevertheless, the blame seems to go to the last person who touched it. I can't help but think there is an established term that describes this psychology and would love to be able to reference it.