It's called sarcasm. Unfortunately nowadays you have to actually TELL people that you're being sarcastic, which kinda kills the joke tbh.