This is a known bug. Sadly this means you will not be able to give a gift to him and get the bonus friendship from a gift given at the Feast this year.
Hi! In an effort to keep similar reports together, I've locked this thread as a duplicate of https://forums.stardewvalley.net/threads/3599/. If you have additional info about this issue, please add it to that thread! Please remember to report bugs in Help & Bug Report section as well! The main thread for an issue is picked based on multiple factors, we won't always pick the earliest thread that reported the issue.