Questions like this come up frequently because the employer is trying to assess if you are adaptable and flexible. They also want to know if you are keen to learn new things and at what rate.