I've seen a lot of this over the years, and IMO, these types of women are living a dilemma they don't know how to resolve and rarely ever figure it out.
Seems clear to me that they bounce back and forth between these different types of men because they desire the particular traits each provides. They like the excitement, passion or whatever else the "bad boy" provides, but they eventually come to long for the stability, honesty, romantisisum or trust that so often is lacking in their bad boy excursions.
The dilemma for them is that very few men can provide both aspects, and those few men who do will have nothing to do with such a woman. That essentially leaves these women to bounce back and forth, hoping they'll stumble upon a man who rouses them in both ways, which they never do.
These women fail to understand that the issue is with them. They lack the mental articulation to develop standards, read red flags and so forth, which is sort of a prerequisite to becoming a person who can live up to the standards and avoid the red flag behaviors recognized by the very men they're really looking for.
So instead, they operate on a principle of immediate gratification. They long for the nice guy when they finally grow tired of the bad boys BS, and they long for the bad boy when they grow bored of the nice guy. The rest of us,meanwhile, run for the hills from these women.