It's absolutely ok to oppose war.
It is absolutely not ok for "some people to want to hurt" someone who is running a company that is vying for contracts from a democratically elected government's defense department.
It's also ok to protest that, to boycott it or to refuse to work for or with them for it. But escalating that to physical violence is not ok, and nor should people be "confused that he seems surprised he is now in physical danger"
(As an aside, from the statements I've heard so far it seems the person was more an anti-AI, anti-tech person than anti-war)