There are many reasons why cats open their eyes, one of which is that they are observing their surroundings. When cats see an animal or something that catches their attention, they will open their eyes to observe. Another reason is that keeping cats' eyes open helps them stay alert, which is helpful when they're hunting. Additionally, cats may open their eyes while resting or sleeping. When they feel they are safe, they may open one eye to observe their surroundings, or simply open their eyes inadvertently because of something they saw in a dream.
In general, there are many reasons why cats open their eyes. They may be to observe the surrounding environment, stay alert, or Because it's a natural reaction when they're resting or sleeping.