ghost key and unpressable keys issue on android HTC desire Z
As per the OP's comment above, well, once or twice, meaning, yes it was exposed to water! 

Rain is water. Could have gone in between the bezel of the handset or moisture residue got built up. 

Get it checked out hardware wise... would not be surprised if the moisture build up is interfering with the touchscreen's recognition of touch.