I know that Nincada is obtainable in Pokemon Sw/Sh and BD/SP. However, Pokemon HOME won't allow me to transfer a Nincada that originated from BD/SP into Sw/Sh, and Pokemon HOME also won't allow me to transfer a Nincada that originated from Pokemon Bank/GO/Sw/Sh into BD/SP.
Why does this happen? Is there anything to do with the Pokemon's compatibility or something?