Pihole randomly stops working after a day or two

That's what you would observe if a page you are trying to access is served by a domain that is blocked by some of the blocklists you use; see also