ufw / gufw use iptables so yeah, they can overwrite each other because they are doing the same thing.
firewalld / firwalld-applet uses the newer nftables which to quote wikipedia:
replaces the legacy iptables portions of Netfilter. Among the advantages of nftables over iptables is less code duplication and easier extension to new protocols. nftables is configured via the user-space utility nft, while legacy tools are configured via the utilities iptables, ip6tables, arptables and ebtables frameworks.
Source: https://en.wikipedia.org/wiki/Nftables
In other words nftables is a better designed / unified / simplified iptables replacement. But if you are not using them directly and use firewalld* or *ufw the benefit is not so clear to the end user.
From what I understand ufw can be made to use nftables but that is something we would need to address and probably should in the future as its less to maintain.
So it should be clear that it really doesn't matter what you use as at the end of the day its doing the same thing.