This... has... nothing to do... with how the 2 countries view guns or blasphemy laws (??).
This library worked well for a hundred of year, and then the US government decided they wanted to invade Canada, wage an economic war, and needed to protect their border at all cost in case an invasion of migrants would come from... that library.