Text Substitutions Not Always Working

This could be related to my Mac ignorance …

I set up a text substitution via the system preferences so that “gg” would expand to my MC’s name, Garrett.

It doesn’t work every time, as seen here:

Screen Shot 2018-09-18 at 3.32.01 PM.jpg

Any idea why?