When raccoons are scared or trying to hide, they will often put their hands over their eyes. This is likely because it makes them feel more secure and less exposed.
When they’re trying to sleep, they will often put their hands over their eyes to block out the light.