Seem like Figma only has 3 group levels in styles. I encounter this today when trying to group all styles into a group name “light” then the tab group level is dismissed and created a mess.
Edit
This is a bug only appear if you select all groups > right click to create new group. By manually drag n drop group into “light” folder this can work