Any time you have a problem that is isolated to one string on the guitar, start by replacing the individual string. You don’t necessarily have to replace them all if they’re in good shape. A string can get worn or it can occasionally be bad right out of the pack. There may be a kink or a loose section of wraps on the core that you can’t see, but can cause a buzzing or intonation issue.