Nightmares

Hey! So last week I began taking the pill for the first time. And ever since, most nights I will wake up bawling my eyes out because someone in my life has left or died. I suffer from depression and anxiety so I thought it could be that but I’ve never experienced something like this before. Could this be a symptom of the pill? TIA x