Beside the abovementioned factors that leave you without a good night rest, medical experts claim that certain drugs can also cause insomnia including: antihistamines, pain medications, heart medications and blood pressure medications. For instance, some of them make you drowsy, but in more severe cases, they can also cause stomach problems.