The electron mobility anisotropy in (Al,Ga)Sb/InAs two-dimensional electron gases with different surface morphology has been investigated. Large electron mobility anisotropy is found for the sample with anisotropic morphology, which is mainly induced by the threading dislocations in the InAs layer. For the samples with isotropic morphology, the electron mobility is also anisotropic and could be attributed to the piezoelectric scattering. At low temperature (below transition temperature), the piezoelectric scattering is enhanced with the increase of temperature, leading to the increase of electron mobility anisotropy. At high temperature (above transition temperature), the phonon scattering becomes dominant. Because the phonon scattering is isotropic, the electron mobility anisotropy in all the samples would be reduced. Our results provide useful information for the comprehensive understanding of electron mobility anisotropy in the (Al,Ga)Sb/InAs system.