It could be a number of causes, for instance, iOS doesn’t support offline PWA's yet.
The browser needs to support A2HS and cannot be in incognito mode, the request needs to be served over HTTPS and the network cannot restrict .json files to name a few.
Even in Google Chrome (best suited browser for offline PWA), I had a varying experience, where sometimes I did get prompted and sometimes not.