Authorities are struggling to understand what led Muhammad Youssef Abdulazeez to wage an attack that left four marines and a sailor dead last week.