The alliance could've been broken because your countries opinion of theirs went too low and thus it auto-broke? (it's a possibility but I'm unsure if that is the case unless you show us what affects your opinion atm, if the mamluk ai is currently privateering that could very well be the case)