Hamas pretty much wouldn’t exist if Israel wasn’t funding them: https://www.businessinsider.com/israel-security-forces-escorted-suitcases-cash-hamas-qatar-report-2023-12?r=US&IR=T
And hamas certainly wouldn’t exist if the Palestinian people weren’t being murdered for their land for decades.
It’s not really that contrary, most people don’t actually become more conservative as they age. It’s not quite a myth but very much over stated. Political orientations over the course of the life span are very stable. https://digitalcommons.unl.edu/cgi/viewcontent.cgi?article=1113&context=poliscifacpub