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