The holes are made to assure that the patty and the burger, in general, can be cooked faster. Because you don’t need to flip them while cooking.