Opening a PDF in an email
.xls files are Microsoft Excel files, perhaps you might have opened it as a preview and it appeared as a pdf when in reality it is an excel file.

If it isn't the case, try restarting your mail client, sometimes the mail might have not loaded properly.

If it is neither of the above, provide a screenshot of how it is attached.