Calling UFGroup.create to update a profile without specifying is_active=1 disables the profile
This doesn't seem too recent (happens in 5.24 too) but seems like a bug given that the api spec for UFGroup specifically declares is_active=1 as the default and other api calls don't seem to work this way.
I'm not sure yet where in the code it's happening.