Why were the Viet Cong and NVA so effective against the United States (a wealthier and technologically superior force)?

Why were the Viet Cong and NVA so effective against the United States (a wealthier and technologically superior force)?