In order to import a texture as a TextureCube asset, the file needs to be a .hdr file.
If it’s not a .hdr file then you’ll need to convert it. Substance Designer will do it, possibly also GIMP, but you can search online and there are probably other tools as well.