Valencia - a £12 million signing from Pachuca at the start of the 2014-15 Premier League season - was linked with a move to Chelsea during the January transfer window.
However, a deadline day transfer never materialised and the Ecuador international has struggled, only scoring twice since November.
West Ham are set to host Premier League leaders Chelsea on Wednesday and Allardyce has blamed the club for turning Valencia's head.
"I think [the speculation] affects you without doubt, subconsciously," said Allardyce. "I don't think he generally goes around thinking it has affected him as no player ever tells you that they are playing badly.
"But, subconsciously, it has to have an effect as you are not absolutely certain about your future.
"I think that there has definitely some thought that goes on subconsciously in terms of, 'Where am I going to be next year? Should I stay here or should I not? Should I go somewhere else? Or I am just looking after myself as it [the deal] is already done?'"
Get the best features, fun and footballing frolics straight to your inbox every week.
Thank you for signing up to Four Four Two. You will receive a verification email shortly.
There was a problem. Please refresh the page and try again.