Like Ron explains to Harry afterwards, Madame Maxime became mad at Hagrid because she is offended when Hagrid asks her on which side of her family she has giant blood on. Giants are brutal, vicious, and animalistic creatures and being compared to them is indeed a great insult. Hagrid, though, was actually curious and was glad to meet another half-giant and did not mean to hurt Madame Maxime.