The reason for oily baked mac and cheese is either cooking the dish too long at too high of a temperature, causing the oils to separate in the cheese, or not draining your pasta well enough, causing the water to evaporate and split the emulsion of your cheese sauce.