Is there a cultural reason for trans-women/ladyboys

I'm just curious as an outsider if there's a reason that this is such a phenomenon in Thailand. I haven't seen any trans-male but plenty of trans-female. There has also been this connotation about Thailand that I'd heard about years ago on the other side of the world.

So what gives? Can somebody explain to an ignorant westerner?