You got the eating pattern a bit wrong; 9-10pm they are just leaving home to eat out; at least in Andalusia
I saw the same thing in Asturias and Galicia when we visited there last year. Very late dinners indeed - even families with young children out eating dinner that late.