The meanings of Quranic verses must be taken from the Prophet himself as Allah (SWT) said in Quran وأنزلنا إليك الذكر لتبين للناس ما نزل إليهم
( We revealed on you the Thikr ( full knowledge of Quran) So that you explain to the people what was revealed for them). Al-Nahl, 44)
Verses which seem to suggest that any Prophet was fallible, are been misunderstood. Verses regarding Prophet Adam (AS) are been explained by the Prophet Muhammad (SAWA) and his Holy Progeny confirming that Adam did not commit any sin whatsoever.
Ahlul Bayt (AS) had many debates in this subject including a very well known debate between Imam Al-Redha (AS) and Al-Ma’moon al-Abbasi, the ruler of that time, in which al-Ma’moon put to the Imam ( AS) the Quranic verses which were according his understanding, showing fallibility of some prophets, and Imam Al-Redha (AS) explained the real meaning which confirms infallibility of all the Prophets.
You may see Tanzeeh al- Anbiyaa’ by al-Shaikh al- Mofeed. تنزيه الأنبياء للشيخ النفيد.
The claim of fallibility of any Prophet goes against Quran where Allah orders people to absolutely obey the prophets. Allah will never order people to obey a sinner.