Each flatpak app instance runs in a PID namespace, so they can’t see each other’s processes.
Single-instance apps often use D-Bus for this (e.g. via GApplication), but that is cooperative. I don’t think there’s any way to forcibly kill the other instance.