You're absolutely right! (ha!)
Sometimes I'll run into some weird looking code and it raises my spidey sense because things are usually added for a reason.
Diving into git history is onerous (and my git-fu is lacking), but LLMs make it quite easy to go in and summarize the history behind the changed lines.