"There are two primary objectives of such terrorist attacks. The first is to make people afraid.
The second is to drive a wedge between ordinary, peaceful Muslims and other groups in the hope that it will increase recruits for ISIS."

Hmmm.

Attacks are designed to increase recruitment.
Placing a ban on certain Muslim countries from entering the U.S. angers them and increases recruitment.
Aiding friendly forces in the ME angers Muslims and increases recruitment.

Is there anything that doesn't ?