Isis has been getting hit elsewhere in the world and iirc the US has hit some of their locations in Syria so that may be part of it. But hard to know without any additional facts about the individual. For all we know, he could have left the flag to throw the authorities off as to why he did what he did.