@paulhulford both are ActivityPub-enabled, indeed, but they also have their own API that allow more flexibility to use their specific features
I’m not sure how Vernissage connects to Mastodon, but it might actually be a very lucky bug (iirc both API are similar but not entirely the same, because Pixelfed has specific features that Mastodon doesn’t have, like publishing the location of the publication)