As some rely on pollination by moths and night-time insects (such as evening primrose), whereas others rely on the day-time insects for pollination, like beees and butterflies. It would be in the plants best possible interests to save enery resources by only opening during thier desired time...