Your question involves two different things:


1. Orthography.

When used after a consonant, letters я, е, ё, ю indicate the softness of the previous consonant:

тема — soft /t/ + /e/
тяга —...