Swelling is caused by fluid buildup in the body. The fluid buildup can lead to weight gain as well as a cough. The cough can be worse at night and when lying down.