Rest api some fields are missing which are nested components in a component
## Bug report

### Required System information

Environment: development
OS: linux-arm64
Strapi Version: 5.6.0
Node/Yarn Version: yarn/1.22.19 npm/? node/v18.20.3 linux arm64
Edition: Community
Database: sqlite

### Describe the bug

There is a problem with getting data via rest api. 
Some fields are missing which are nested components in a component

### Steps to reproduce the behavior

1. Add content type as in this image 1 in Screenshots section

2. Try to get data from api example GET url: '/api/settings/adpd9ynh02e1gomx83x3fwfc?populate=*'
3. missing fields that are nested in the component -> Image: 2

### Expected behavior
All declared fields in a given type should be returned

### Screenshots
Image 1:
![image](https://github.com/user-attachments/assets/20efcac3-b495-4aaf-bbda-8fb99a206a3c)

Image: 2
<img width="796" alt="image" src="https://github.com/user-attachments/assets/b0da09da-b57f-40d5-8aca-2187e8d7f5ee" />
