Shyam interview question

Resume based ( Python, SQL), why did you shift to mechanical to it field?