Gem Crit when saying Crit is Bad?

I’m seeing this often on various characters and I can’t understand the logic. This shows AMR telling me to gem/enchant for Crit while simultaneously telling me I need less Crit and more Mastery/Vers. Can anyone explain this or should I just stick to Raidbots?

The logic behind that is pretty simple: Overall, better gear does have those recommended stats most of the time, but with the items you currently own it may be more optimal to use a slightly different stat distribution.

@Swol posted a more thorough explanation here:

appreciate the answer