Why did Thanos had to sacrifice his daughter? He could have sacrificed some one a little less loved... his other daughter, a cousin, a minion, his pet parrot...
I doubt Black Widow was Hawkeye most beloved person anyway, and it worked for him.
Or the rock only demanded to sacrifice their most beloved person around in…