Often said when you second guess your (or someone else's) initial impression of something/someone.
Usually, I find him ugly, but today he's smokin' hot. Must be the lighting.
She looked hot on instagram, but then I met her IRL. Must've been the lighting.
Person A (who is overweight): I look so skinny today.
Person B: It must be the lighting.