You cook on a grill (perhaps in a “bar and grill”), but the word for a metal framework over the front of an opening is most often grille. When speaking of intensive questioning “grill” is used because the process is being compared to roasting somebody over hot coals: “whenever I came in late, my parents would grill me about where I’d been.”