It's true that fruits and vegetables are lower in calories than many other foods, but they do contain some calories. If you start eating fruits and vegetables in addition to what you usually eat, you are adding calories and may gain weight. The key is substitution.
More useful articles on a similar topic 👇
What vegetables make you bigger?What vegetables cause weight gain?