The insect radical on the left marks this as a small crawling creature; it stays the same across all three readings, since ant, grasshopper, and dragonfly are all bugs.
Supplies the sound on the right: 马 mǎ gives the base reading, which shifts tone to mà or mā in other compounds. It contributes no 'horse' meaning here.