Indeed. Trump knows perfectly well who is responsible for this attack. Every major intelligence agency knows. But Trump knows it is impossible to state that information publicly.
Plus, he can now draw out the most blood-thirsty of the neocons, and assess Bolton's performance.