"is everything being closed a religious thing?"
No. If there are no ships in port on Sundays most all shops are closed.