Is it bad he asked me to call him and I jokingly said “I mean I could but why would I want to”?

My friend said it’s very rude
Is it bad he asked me to call him and I jokingly said “I mean I could but why would I want to”?
Post Opinion