Sleep paralysis and terrifying dreams - are there medications that can cause that?

PERHAPS. If you also add daytime sleepiness, or sleep attacks, you are describing "narcolepsy", and indeed, there are several medicines that help. Recommend you see a neurologist, or pulmonologist with sleep disorder experience, as this can readily be solved. Although some medicines do disrupt sleep, it is more likely that you possess a sleep disorder.