يَشْكُرُ الرَّجُلُ رَبَّهُ — The man thanks his Lord.
سَلَّمْتُ عَلَى يَشْكُرَ — I greeted a person named Yashkur.
In the first, yashkuru is an imperfect verb; in the second, Yashkur is a proper name governed by a preposition.
The contrast separates pattern from the word’s actual grammatical function.