You don't get involved not only because you don't know what he meant, but because actually whichever way he meant it there's no suggestion that he doesn't take them seriously and doesn't want to offer her support. They're obviously annoying for her, so there's no issue if he meant it that way. But actually, supporting people through panic attacks can be very difficult as well, particularly for teenagers who may well lack the maturity and knowledge to provide that support effectively. Obviously the word 'annoying' mind not be the best way of expressing that, but I can well imagine it being something that he does find very difficult. So either way, I don't think it's something that is some sort of red flag that you need to go to your friend with. I think you should very clearly be leaving it alone.