I've definitely heard there's a genetic element where some people just smell or taste yummy to them. I don't have any research or anything tho.
From personal experience, I think I get bitten more if I'm eating much sugar, or drinking alcohol, possibly because of a slightly higher body surface temp, or smell/taste different with more blood sugar.
I remember hearing a story where the person was going hiking or camping or something with their family. Everyone was getting bitten by mosquitos, except for the mother who had recently gone through chemo and was left completely untouched the whole time