The kid shouldn’t have taken his hat off while still outdoors. And he should have initiated the salute.
If you want to get technical, obviously the grandpa wasn’t active military. He just put the uniform back on. Do all the saluting rules still apply?
I have to admit, being outside without the hat one of bugged me too. It’s something the drill into you so much, that someone outside without a hat seems naked.