The eyelids swell up because of the presence of excess fluid (edema) in the connective tissue around the eyes.