I went to an elephant camp in Kanchanaburi recently. This was in the souvenir part. I have no idea what this is?

To me, it looks like a penis on legs, but surely this is not for the elephants pleasure?

Can anyone enlighten me? Must be a Thai thing.