hey i was wondering why do i get such bad bowel cramps when i drink alcohol? i hate it so much, whenever i drink i get bad bowel cramps

one time i dranks so much, that i ended up doing a number 2 on the street when i was only like 3 feet from my house, but i couldnt hold it in. why does this happen? and is there any way to stop it? besides not drinking alcohol lol