IIRC, Maria was formerly pronounced the same as the name Mariah (Muh-rye-uh as in Mariah Carey), and only in the past century or so have English-speakers switched to using the Spanish/Italian pronunciation of Maria as "Ma-ree-ah". When you realize that, it makes more sense that Mary and Maria might sound distinct enough to some parents.