Honestly I think it’s something they come to understand as they get older. Seeing how looks are major attraction triggers for men when looking for a partner
Because for most men, one woman cannot sexually satisfy them long term, they like variety. I guess you can think of it as a biological urge to spread their seed far and wide