Increased appetite before bed and difficulty falling asleep are not necessarily related.
Many people have an appetite in the evening. Scientists have 3 main guesses as to why this is happening. The first is associated with the activity of the hunger center in the brain. For most people, it is activated in the evening, and this does not depend on whether they are "larks" or "owls". Perhaps this is due to evolution: it was more convenient for ancient people to eat in the evenings after harvest or hunting.
The second theory has to do with whether you eat breakfast or not. It has been noticed that most of all in the evenings they eat those who do not eat. In this case, the feeling of hunger arises due to the fact that the body simply does not have enough food. If you didn’t have breakfast, but at lunchtime cost a couple of sandwiches, in the evening you will want to eat only because the body does not have enough energy.
Finally, evening transmission can be associated with psychological problems. This is not necessarily about depression, it can be a banal habit of "seizing stress". In this case, a person involuntarily tries to eat something sweet in the evening - this leads to the production of "pleasure hormones". In addition, a person can "reward" himself with food in the evening for a successful day.
As for why you don't feel like sleeping in the evening, there may be even more reasons. Perhaps this is simply due to biorhythms - it is easier for all "owls" to fall asleep late at night. It is difficult for a person to fall asleep if he overeats for dinner. Insomnia occurs during stress, Or maybe the whole problem lies in an extra cup of coffee, in noisy neighbors, or in the fact that it is too hot in your room (a comfortable temperature for sleeping is about 20 degrees). If insomnia is a problem for you, you should see a doctor.