Hard resets triggered by installing Flatpak app on microSD

I use microSD only for storage and Flatpak apps. I boot from eMMC, not from microSD.