Is this cradle cap, cradle cap, or something else? What can I do?

Hello My daughter is almost 4 months old. When she first started, she had a lot of beautiful hair on her head. Now it's gradually receding and is being replaced by increasingly thick, yellow flakes. (See picture). I know that hair can fall out in babies, but the fact that it's happening at the same…