For most people, the licensing doesn't matter; if you're just using instead of distributing, the licenses are effectively the same (zero cost, no field-of-use restrictions).
And Linux and the BSDs are similar enough that, once you're using one of them (and your hardware is supported), there's not much gain in switching to the others. Which makes the early popularity gains of Linux "sticky".
Fragmentation and not always the most welcoming of communities was another.
BSD would probably have won out in the absence of Linux. (We'll leave Windows out of this discussion.) But the Linux community, early-on commercial distros, the endorsement by IBM, and various other factors help cement Linux's position.
Permissive licenses have increasingly won out over time but Linux had the momentum with respect to operating systems by then.
On my specific case, looking into either of them was only due to the Windows NT at home now being enough to reproduce the work assignments that needed to be delivered on the DG/UX and Solaris servers on the university labs.