The freezer in a refrigerator is fitted near the top

Because of convenience

To minimize power consumption

To keep it away form hot compressor which is nearer to the bottom

It facilities convection current currents