Would one fighter pilot know that another's mask is not on?
No, there's no mechanism to check if a pilot has their mask on. It's sometimes possible to hear the difference in how muffled the sound is. Other than that, it might just be that that particular pilot has a reputation for taking his mask off when he's not supposed to, and the other pilot just assumed that's what happened.