Sidechains and hardforks are definitely not the same thing.
As outlined in the original Why Cardano essay, the whole point of Layer 1 Cardano is to serve as a settlement layer for domain-specific computation performed by a collection of Layer 2 "sidechains". The explicit bifurcation of theone settlement layer and many execution layer(s)s allows for a diverse constituencymuch of "side"-chains to all do their own thing, utilizing the mainheavy computation to be spread out with domain-chain for periodic final settlementspecificity.
The extent to which a sidechain inherits Cardano's security depends on how frequently and how tightly the twothey interact. HoweverAlthough there may be overlap, sidechains can and will have their own accounting models, consensus mechanisms, validator sets, e.t.c.; security is not 1:1 Their "security" will depend on which of the many trade offs they've made.
So, the decision of whether to sidechain or hardfork depends on what you are trying to achieve. Are you trying to deploy some killer new execution/consensus/dApp engine? A privacy chain? Do you want smooth interoperability with everyone else's new chain? Go sidechain.
Or, do you want to make such radical changes to the settlement layer of all this infrastructure that the HFC and voltaire-era governance procedures are not enough? Then hardfork. (This is unlikely to be viable).