Tears contain oil, water, and mucus. With that being said, there are a lot of medications that can mess up with the production of mucus which can automatically lead to dry eyes.
Some of these medications are antihistamines, antidepressants, diuretics, and beta-blockers used to treat hypertension.
Thus, if medication is the culprit behind your dry eyes, then consulting your doctor would be a wise move. You may be provided with alternative medication that doesn’t affect the natural hydration process of your eye.
Artificial tears can still be used in combo with your medication. This will assure your eyes stay hydrated.