It’s most typical for fires to start when the battery is being charged. For it to catch fire just sitting there either means it was damaged or was some shoddy, not-certified, battery that shouldn’t have been sold in Canada.
This could have ended up much worse.
Don’t Canadian electronic devices already require certification? https://www.canada.ca/en/health-canada/services/home-safety/electrical-products.html
There are many different certifications UL has, I know the UL 2271 battery certification won’t be a standard one for most products.