Imply and infer are opposites, like a throw and a catch. To imply is to hint at something, but to infer is to make an educated guess. The speaker does the implying, and the listener does the inferring.
https://www.vocabulary.com/articles/chooseyourwords/imply-infer/