I always thought before Revenge of the Sith was released that Anakin would go to the dark side because he was expelled from the Jedi order for falling in love with Padme, or that he would never be accepted by them and become a jedi master.
That the other jedi reject him our of fear or jealousy over his abilities or because they believe he is dangerous, are affraid he might fall to the dark side.
In the end though things were the way they were in the movie because it was in the script.
The love trangle thing was hinted at by Lucas before he wrote the prequel scripts. He kept it in as a subplot that palpatine used as a lie to turn anakin against obi wan, and to mistrust padme. But cut it out. Though it remains in the novelization.
Earlier on it was supposed to be Like the love triangle between King Arthur, Guinevere and Lancelot. I cannot exactky remember Lucas reference early on.
Other things we did not get to see in the prequels were the good mother, and bad mother Lucas hinted at. Ben Kenobi was the good father, and vader the bad in the ot.
We got to see something of the Knights as brothers concept. The thing with Anakin regarding Obi wan as a surrogate father was never used in the films and only appeared in the novelization of episode II.
So in Anakin we have the son Obi Wan never was allowed to have, the Brother, and the best friend. Is it any wonder Old Ben was like a uncle to Luke or a father figure.
Obi Wan had great admiration for Padme but only as a friend. He never felt romantic feelings for her.
The young reader books where obi wan is a student hint at a past love he may have had but had to leave behind because it was against the rules. Even Qui Gon supposedly felt the same.
So love and feelings to those of the opposite sex must be regular to the jedi, but like monastic types they keep themselves in check and reject the temptations of the flesh.
The Jedi were totally wrong and off base though there was nothing evil about Padme and Anakins relationship or marriage. Having to keep it secret was their fault. Anakin's pledge of love and devotion for padme was one of his strengths as a deep feeling emotional human being. Anakin rejected the jedi view of attachment. He was way more loyal and would go to hell and back to save his friends and loved ones unlike the jedi. He was always saving Obi Wan, or trying to minimize the casualties of the troops he commanded.
Too bad most of this stuff ended up in the clone wars animated series, the novels etc, and was not shown in the films.
Lucas should have shown Anakin's finer humanity in episode II and III instead it felt rushed.
Anakin was always an outsider in the ranks of the jedi and never really was fully embraced by the brotherhood. Their mistrust and fear led to him being feeling lost and being taken under palpatines wing and corrupted. Obi Wan only took him on as his apprentice as a final duty to his master qui gon. Even Yoda sensed Anakin's fear of losing those he loved in episode 1. Obi Wan said " They all sense he is dangerous why can't you". He was right by the way, look at how he cut down those younglings like corn stalks with his lighsaber.