Welcome to the forum!
Sorry your cham is having a problem.
It is good that you've found this forum and care about your cham enough to ask questions so you can help him.
Very often people get bad care advice and are sold the wrong things for their chams---probably has happened to most of us.
Your cham can't sleep because of the red light being on at night.
Please turn it off and leave it off, since it is not needed at all.
Some types of reptiles are not disturbed by red light but unfortunately, chams are.
I'm sorry to say, but glass aquariums are not very good for chams.
Chams need tall, instead of wide enclosures and they need good airflow, which an aquarium with a screen top can't provide.
This is why tall, screened cages are recommended.
It may also be too hot for him, so you really need a thermometer.
A cham that is too hot will go to the lower part of its home to try to find a cooler spot.
It is great that your cham is able to get some natural sunlight, when the temperatures are OK for him.
I don't know if you know this but he can't be put outside in a glass enclosure.
When sunlight passes through glass, the UVB in sunlight gets changed into heat, instead.
A cham in a glass cage gets much too hot and gets no UVB, either.
Chameleons need UVB light, which can come from exposure to natural sunlight or a good UVB bulb like the Reptisun 5.0 bulb.
The UVB enables a chameleon to use the calcium it gets from its food.
He probably needs more misting but you need a hydrometer (humidity gauge) to know for sure.
You can read much more about Veiled cham care here:
https://www.chameleonforums.com/care/caresheets/veiled/