Basically I don't like to do repetitive tasks on a computer, it often triggers me to develop some automation which helps me complete that task with a single click.
I'm good with mechanical stuff but can also see patterns which helps me understand programming more easily.
That's where both mechanical engineering and programming connects in my mind.