Microswimmers show a variety of collective motions. Despite extensive study, questions remain regarding the role of near-field fluid mechanics in collective motion. In this paper, we describe precisely the Stokes flow around hydrodynamically interacting ellipsoidal squirmers in a monolayer suspension. The results showed that various collective motions, such as ordering, aggregation, and whirls, are dominated by the swimming mode and the aspect ratio. The collective motions are mainly induced by near-field fluid mechanics, despite Stokes flow propagation over a long range. These results emphasize the importance of particle shape in collective motion.