SE Practice Question

Hi all! for the question attached below, I thought “rogue”, “rake”, “scoundrel”, and “libertine” basically all have the same meaning (unprincipled, no sexual constraints, somewhat charming) upon looking up in the dictionary. Could anyone explain the differences and why “rake” and “libertine” are the only correct answers here?

Thanks a ton!

Are scoundrels and rogues “somewhat charming”?