Snap is a proprietary format that is canonical-centric, don't tell me that the community make choice to make client opensource but official store both hardcoded (initially) and closed source.
On the other hand,flatpak is a freedesktop project, done using open standards like OCI and ostree.