If you're going to be a smart ass, you have to be smart, or you're just an ass.
Smart Ass Definition
Categories
Explanation
Experiment
This is a play on words. The phrase 'smart ass' implies someone who is both clever and annoying. The joke suggests that if someone is trying to be a 'smart ass' but lacks the 'smart' part, they just end up being an 'ass', which is just a jerk.
Google
Fuck