Why did Gautama Buddha reject Hinduisim?

Was it the cast system or something else?
Update: and is it Gautama or Siddartha? I keep coming across different names.
10 answers 10