If your filling is higher than the dam you created, the weight of the next layer will cause the filling to overflow and ooze out of the sides. Also, if you don't chill the cake after filling, the buttercream will move and cause the filling to drip the sides of the cake.