The Islamic State militant group said in its English-language magazine published Thursday that the recent hostage crisis involving two Japanese men was aimed at shaming Japan after the country pledged aid for countries fighting the group.