And he became hungry and wanted something to eat, but while they were preparing it, he fell into a trance.
Acts 10:10 ESV

Peter's vision likely took the form of food because he was hungry. God speaks to us where we are and in languages that are meaningful to us.