Mine was from tea. Drank liters of tea for a few days in July (back around 2005) while shoveling dirt. Thought something was up when my pee was almost black. Struck me on the morning of July 4th. Went to the doctor to confirm what I suspected. They gave me morphine and a month to pass it, never did. They broke it up with soundwaves. The pieces got stuck. 4 or 5 trips to the ER. Finally told them to go in and remove it in October. So I suffered with one for over 3 months. Mine was calcium oxalate. Tea and many other foods and drinks are high in oxalates. Read this book and never had another one:
https://www.amazon.com/More-Kidney-Stones-Prevention-Treatment/dp/0471739294/ref=sr_1_6