That's just what happens. There is no way to force the AI to actually attack something.