Fasting for wisdom teeth?

Ok I’m getting my wisdom teeth removed this weekend and I’m getting numbed with just local anesthesia since none are seriously impacted but they said I had to fast for 6 hours before hand? I’m confused why has anyone had this happen to them? Could it be for the antibiotics, or? Kinda nervous for the whole thing