Why does water sometimes come out of my catch basin when it rains?

The most likely scenario is that a downstream pipe is blocked.  Certain stormwater catch basins are designed with no outlet and only have an inlet. These catch basins fill up and are designed to convey rainwater down the curb gutter to the next catch basin.