Goldfish don't naturally sleep at night, like people do. They do sleep better when it's dark and quiet, so many fish will sleep at night. If you make noise around a sleeping fish, it will startle awake. Thus, it's best to keep the noise level down when your fish wants to sleep.