Hello and hope you are doing well.
This could be renal colic. Small stones can obstruct the passage of urine and when the body tries to 'push' against the blockade this results in colic, which is severe attacks of pain. The other causes for the pain could be infections of the bowel and bladder, prolapsed intervertebral disc or inflammatory diseases of the colon. Please consult your primary care physician who will do blood tests, x- rays and may ask for an ultrasonogram to find out the cause for the pain.
Hope this helped and do keep us posted.
Definately have them check your kidneys .and do a blood panel .