It's a pun, but kind of hard to explain. Basically, it's because termites eat wood, and the bar is made of wood. A 'bartender' is someone who works behind a bar, but in this case, the joke is that the termite is asking if the "bar" is "tender" (i.e., nice to eat).