There are plenty of medicines that cause people to gain weight. Corticosteroids are notorious for increasing hunger leading to weight gain.