Because before doctors will perform surgery. Must provide anesthesia to patients will not have to endure pain during surgery. And hence If a patient drink and food before. Patients may cause choking debris.
Since before the doctor will operate. To let the patient anesthesia to be bear in pain during surgery and for this reason, without giving the patient no water and food. May be the patient's choking food.