Pairs which are of the form AB / BA
There're no underlying logic on those pairs you've mention.  It's just a coincidence that the 2 words can be used in form of AB/BA where both AB and BA is a word.  Note that in the examples, AB and BA have different meaning while there are some example that has the same meaning, such as:  

油漆 / 漆油 (paint)
色彩 / 彩色 (arguable as 色彩=color while 彩色=color(ful))  

I believe there are similar situation in English such as breakout / outbreak or overlay / layover.  It'll be easier for you to just forget the AB/BA format and remember them as separate words.