Gas line in return duct

Wow! What are people thinking when they do this s**t? It would have been easy to go around the duct with a couple of elbows.

The seller said he had the home inspected two years ago, and
nobody told him about this. Looks like it’s been there for a while.