Unreal is not open source, it’s source-available. Open source generally gives freedoms like redistribution, yet that is explicitly not allowed by Unreal. To get access to the source, you need to agree to a licensing agreement with them.
That said, source-available is a lot better than most proprietary software licenses.