Why did prince siddhartha leave a comfortable home and loving family?

Prince Siddhartha who was born in a wealthy family and had a comfortable life wondered at distress and difficulty of people around him. Even after communicating with many religious professional Siddhartha was not satisfied. However, after six of meditating under a tree in Gaya, he found out the cause of suffering which was due to human needs.