Web browser are increasingly adopting technologies to improve security of browsing experience.
In particular websites can enable Content Security Policies (CSPs) for the content they serve that can prevent embedding in other pages.
For instance, if the header X-Frame-Options: SAMEORIGIN is set the content can only be embedded in the same domain it originates.