Infosys interview question

The reason for the switch