Well, this whole situation seems like a misunderstanding or you intentionally went off on it, who knows, but the fact remains that he didn´t aimed these words at you and you attacked him for that. He told you to just let it be as it is and you told him to shut up, therefore imo the warn is justified.