With relief rainfall, theres uplands. Warm air blows towards that mountain range, and is has to rise above that mountain, so the air moves upwards. As it moves up, it has to cool down, or condense. The water vapour creates clouds and the clouds create rainfall. The air moves back down onto the other side (dry east) of the mountain.