PHP documentation clearly states that file_get_contents supports remote files, but you need to enable the allow_url_fopen configuration option. Many sites (in my experience) avoid delivering content if the user_agent directive is not set. You should also try to set this value to a valid user agent string.
From https://www.php.net/manual/en/function.file-get-contents.php
Example #1 Get and output the source of the homepage of a website
<?php
$homepage = file_get_contents('http://www.example.com/');
echo $homepage;
?>
From https://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen
Here's a short explanation of the configuration directives.
allow_url_fopen boolean
This option enables the URL-aware fopen
wrappers that enable accessing URL object like files. Default wrappers
are provided for the access of remote files using the ftp or http
protocol, some extensions like zlib may register additional wrappers.
There could be a lot of things (outside of the scope of this answer) that could be preventing you from pulling the file, but I have found multiple times that just setting the user_agent directive to a valid string will do the trick.