Thank you, Lisaly, for your suggestions!
Attached are two unretouched photos taken consecutively - one good and one with the flicker affecting the quality. I think the problem is with the frequency of the light flicker - I read fluorescent light changes frequency faster than our eyes can see it, but the camera picks it up.