Lol this is a chicken forum, so most people don’t know much about quail.
Lots of us here know about quail and/or have both quail and chickens. She just posted this in the wrong section to get specific information. For future quail questions, there is a quail subforum where you will get better answers. I only saw this thread because it was on the front page.
If the temp is decent and they aren't huddled under it or trying to get away from the heat, then go down the list of other things that may be off. Do they have proper water, food (such as high protein game bird feed that has been blended to be small enough for them to eat,) no obstacles in the brooder to get hurt on, etc.