PDF attached from Mac showing as TXT file

Testing version:
2.0 (10984)

What were you doing:
Attaching PDF using Bear 2 beta on mac, and trying to open them on Bear 2 iOS

What feature did you use:
Attachments

What happened:
PDF is properly attached and can be opened on Mac, but the PDF is shown as TXT file in iOS with different file name, and cannot be opened. Tried killing and reopening the app, editing the other texts in the file, but nothing changes.

This is not happening to all PDFs, but two specific PDFs

Mac: Correct file name, PDF, can be opened
Screenshot

iOS:

What did you expect to happen:
File to be attached properly

Removing and reattaching the same PDF has the same behavior. If I open the PDF is another app & export it, then it works. I checked all my PDFs and found few more doing this. Some were created from Apple Notes, some were created from another app.