Hot

my 2009 kia rio is hot.the temp today was a 100.my air condition was on max and it stops blowing.turned it off for a couple of minutes .put back on max , it started blowing again.why?