למה לא יכולת לישון בלילה שעבר?

English Translation

Why couldn’t you sleep last night?

Why not בלילה שעברה?

Despite the fact that לילה ends with ה, which usually indicates that a noun is feminine, it’s masculine. For instance, to say “Good night”, you say לילה טוב, not לילה טובה.