Antibiotics do serve a purpose. Sometimes these antibiotics can be miraculous cures, but there are side effects. The main side effect is a disruption in the gut microbiome. Now there is also evidence that patients with kidney stones ( nephrolithiasis) have an altered gut microbiome compared to those without kidney stones. This is important information
The question is how this could happen ? The proposed mechanism is that changes in the gut microflora ( due to antibiotics) alter macronutrient leading to increased calcium formation. This increased calcium formation will lead to kidney stones.
Another hypothesis is that antibiotics select for multi resistant pathogens that promote kidney stone formation. It has been shown that 70 % of bacteria cultured from stones are multi resistant pathogens.
This has to be researched and studied more