Many "bad boys" typically are more vulnerable, so they check that box too.
Lot of so called "nice guys" are abusive.
It's not the indicator you think it is.
"Bad boy" encompasses a lot of things. There are a lot of diamonds in the rough within the ranks of "bad boy".
There's a lot of pyrite within the ranks of "nice guys".
Nice guys generally break down to a few things. Low effort grey rocks, manipulative, peacocking pyrite, transactional men, and actual decent guys.
Bad boys also tend to break down into a few things. Low effort, entitled, mad at the whole world, infantile choads, an aesthetic posturing - more concerned with homies than he'll ever be about you, dumbass who's deep into thug life and everything that goes with it, guys who got labeled a problem early in life and has had a hard life ever since because of it - these guys are quiet and are your diamonds in the rough, or men who were abused as children - these guys are prickly and volatile but also loyal; they can be a good pick (diamond in the rough) or not.
So it's really not as cut and dried as a lot of people think.