People quickly adjust their values to fit their behaviour, even when it is clearly immoral.
you thought the task was boring to start off with then you were paid to tell someone else the task was interesting. Your mind resolves this conundrum by deciding that actually the study was pretty interesting after all. You are helped to this conclusion by the experimenter who tells you other people also thought the study was pretty interesting.