They can be but they’re not. Canadian and Mexican factory farms are not being affected sufficiently to raise prices. The cause of the price rise is not factory farming. It’s vaccination practice and trade policy.
I was curious about this, being neighbors with Canada, and I'm not seeing it mentioned in any articles about their egg prices. Most of these are instead about their supply management system and smaller farms, e.g.: