I would have to assume that did contribute to the breakage. You should also check to make sure whoever installed the aftermarket bumper did not forget to install the headlight bolt at the very rear edge of the bumper, right before the front fender (see below). It's really easy to think you need to remove these bolts when putting on a bumper, but they need to stay installed.
The combination of this bolt and the other one you've been referring to help keep the headlight from rocking forward slightly, which rocking would cause the rearmost side wing of the headlight to bump up and crack from making contact with the fender right above it.
View attachment 3814480