It's not only July and August; January, May, June, and Mars, are named after Roman gods; February and April after Roman rituals; and September to December after Roman numerals (7 to 10th month, as they were when the calendar first started).
While not technically incorrect(?) I'm guessing you meant March?