A .pem
file contains only the public portion of the certificate. A .pfx
file contains the public certificate as well as the private key. If the policy used to create the certificate indicates that the key is non-exportable, you will be unable to download a .pfx
file.
This can be controlled when you create the certificate.
More info about PEM vs. PFX can be found here.