Using the same iPad wall adapter, some aftermarket lightning cable will charge a 5s, but won't charge an iPad Air.
I've had the best compatibility lightning power/data cords made/sold by amazon. They are called "Amazon Basics". The Amazon Basic cables are the only aftermarket cables that will charge my iPad Air.
Of course there are 100's of different aftermarket cables and other may work perfectly fine along with the Amazon Basics cables. (And of course the OEM cables).