Why do some people gain weight after a gastric banding operation?

They didn't change. The band is only a tool. It doesn't do the work for you. You have to change.
HABITS hard to break. Weight gain is due to not breaking old habits: eating high carb, high fats foods & not exercising etc...