I don't think it's purely genetic either, but I do think there is a part that's genetic, the elements are restricted by nation, but if two people from different nations mix they can have children that posess different types of bending (like Aang and katara's children) so I do think some part is genetic. Also the avatar is something entirely different, I'll ask the person who made the vid to explain how that works with genetics, hehehe