We all love our cats, but we also love to get a good night of sleep. Unfortunately sometimes these don't go hand in hand together.
The evolutionary explanation of this is that felines are usually most active in the early dawn and at dusk. These are when the hunting times have traditionally been best.