Because a commit contains its parents’ hashes, changing an old commit changes the hash of every later one.
commit
The Git object that ties a tree to its parents, author, committer and message.
Because a commit contains its parents’ hashes, changing an old commit changes the hash of every later one.