The freezing chest (or cooling unit) in a refrigerator is kept near the top because:
convection currents can be set up this way
The air near the top in contact with the freezing chest gets cooled. It becomes denser and therefore descends and the hot air from the lower part rises, thus giving rise to convection currents which gradually cool the whole refrigerator space.