You capitalise these words when you care about/like/respect the person you're writing to. Usually in personal letters.
This is correct, although you will find capitalized pronouns in official publications where they address specific audience.
The rules have more to do with culture than grammar. Indeed, capitalized Ty, Wy etc. will express the respect we may feel towards someone, but sometimes it will also reflect on us.