According to the system requirements for MATLAB R2021b, Arch Linux is not listed among the officially supported distributions of Linux. Using a different Linux distro such as Ubuntu will resolve your issue.
Refer to the System Requirements page of R2021b for further guidance:
