This is because the total number of air molecules inside the tire decreases as the air leaks out. As the number of air molecules decreases, the pressure exerted by the air molecules on the inside of the tire also decreases. This decrease in pressure is what causes the tire to deflate.