In bootstrap4 you can use g-* (change number instead *) class in row container. It will add grid gutter space. And If you switch to bootstrap5 there is a gap-* class you can use.
bootstrap4
g-*
bootstrap5
gap-*