It's called a "pun", albeit maybe not a very good one.