Bots in Multiplayer vs Campaign

Question regarding bots, the bots in the multiplayer can almost pass for human players, why are the marine bots in the campaign so stupid and poorly designed? Halo 5 bots seemed to be much better, not great, but better if I am remembering correctly.

They missing a lot of code for starters. There’s no way it’s complete lol.