To be so worried or anxious about something that it keeps you awake at night.
I didn't lose sleep over the test because I studied well.
我没有因为考试而失眠,因为我复习得很好。
To be very troubled or concerned about something.
She's been losing sleep over her son's health.
她因为儿子的健康问题而失眠。