Bereishit 4:25 says
וידע אדם עוד את אשתו ותלך בן ותקרא את שמו שת
And Adam knew his wife again, and she bore a son, and [she] called his name Seth.
Bereishit 5:3 says:
ויחי אדם שלשים ומאת שנה ויולד בדמותו כצלמו ויקרא את שמו שת
And Adam lived a hundred and thirty years, and he begot a son in his own likeness, after his own image; and [he] called his name Seth.
(Translations JPS 1917 through Sefaria, emphasis mine). Did they both name him? Or is this an apparent contradiction that is resolved in another way?