There are many things which affect BG.
The obvious one is food but we are also affected by stress, illness, exercise, alcohol, time of day, month, year, drugs, how much we sleep, ...
With the last night you have just had, you experienced more than one of these which is likely to push your BG up.