The three rules of care for the mogwai in Joe Dante's Gremlins were relatively straightforward. Keep them out of sunlight, don't get them wet and, most importantly, don't feed them after midnight. The Peltzer family found it frustratingly hard to follow the rules, and their carelessness quickly demonstrated how, without proper care, something sweet and cuddly could become a nightmare.
Source:https://www.cbr.com/why-gremlins-after-midnight-eating-rule-makes-no-sense/