AI JAMMED

When I build walls, melee enemies and rams do not attack it

This issue?