So, you think that an Eldritch Knight on page 97 learns a "wizard cantrip" which means a cantrip from the wizard spell list, but then after that, wizard cantrip means a Eldritch Knight Cantrip gained from the Eldritch knight subclass.
I think in both cases they are talking about a Cantrip gained from the Eldritch Knight subclass. I have said this numerous times, I don't know why you keep asking it.
Do you know why an Eldritch Knight's abilities only work with spells an Eldritch Knight knows? Because nothing in the fighter, wizard or eldritch knight allows you to cast a spell you do not know.
This is untrue. Wizards at high level can cast spells they do not know. They can even cast spells not on the Wizard list.