During the events of Alabasta, Crocodile was a Warlord and the rest of Baroque Works weren’t aware of who their leader was.
Since he was already a Warlord, it’s likely Crocodile had a normal pirate crew before Baroque Works, and he earned his infamy with them.
He headed into the New World, challenged Whitebeard and was defeated. After that, like he did with Ace, Whitebeard offered Crocodile a spot on his crew, but Crocodile refused. However, fearing death, his crew accepted and Crocodile was left to escape on his own.
This would make Crocodile similar to Moria, since they both would have been left with a trauma after being beaten by a Yonko. Crocodile’s trauma is his lack of trust and Moria’s is his fear of losing comrades.
Also, the current events make Crocodile and Moriah, the foil of each other.
Crocodile got back again in his feet with his loyal friend, Bonez and managed to build one of the strongest crews in the world with Mihawk and Buggy, being recognized as a Yonko’s crew.
Moriah never recovered from that trauma and lost his loyal friend, Absalom and was forced into joining the Blackbeard’s crew against his will (Or even a worse fate).
Crocodile developed his lack of trust after he was betrayed by his “original” crew after he was defeated by Whitebeard. This would explain why he doesn’t trust people, as well as his obsession with Whitebeard.
Theory by DoctorFluffy831 (https://www.reddit.com/user/DoctorFluffy831)