Fasting does not cause hair loss. When you eat the body will get the necessary nutricions. Unless you are fasting for a long time than it can cause hair loss.
Minoxidil is a FDA approved hair loss medicine. It requires long term use in order to give good results. When quit the hair thats been gained because of minoxidil can shed.