Trump is probably hoping a terrorist attack would:
1) Boost his approval rating 2) Give the excuse he needs to get his crackdown on.