Because you made a TObjectPtr without designating the class. It should be:
TObjectPtr<UPhysicalMaterial> PhysMat;
The part UPhysicalMaterial is critical. It describes to what class the pointer is pointing to.
Don’t forget to add the module PhysicsCore
to your build files dependencies.