Al Qaeda wins this round against Daesh, but what’s with the rival claims?

Al Qaeda’s most dangerous branch, AQAP, has claimed responsibility for the Charlie Hebdo attack, edging arch jihadist foe Daesh (IS) for the moment. So why were there rivals claims in the Paris two hostage crises?