Ḥāl adds a circumstance at the time of the event: “The man came riding.”
Naʿt qualifies a noun: the book’s “I saw a riding man.”
Because their surface forms may coincide, decide from context, agreement and syntactic purpose, not just the final vowel.