The light goes out when the fridge door is closed.
I have this on good authority, going back some decades now.
Single mom, with 2 year old boy throwing a "hissy fit" and mom, tosses boy into fridge to "cool him down".
First off, this will "cool a boy down". Second the boy informs mom the light does go off when the door is closed.
Probably not the best parenting skills, still this was before life got too PC.
He turned out all right...