The very fact that they chose an attractive woman like Scarlet Johannson to play Black Widow relates to sexuality. As males we would inherently be less interested in her character if she were unattractive.

There is a difference between displaying natural alluring sexuality and being displayed purely as a sex object (as would the case with porn).