The defense mechanism Marissa is using in this scenario is rationalization. However, since that option isn't listed, the one that most closely aligns with her behavior is projection. She is projecting her feelings onto the other person by justifying her actions based on her annoyance with them.
So the correct answer from the available options is projection.