According to several newspapers, e.g. this article, or even the (now former) Attorney General's resignation letter, President Trump asked Jeff Sessions to resign. Similar things are also shown in TV shows from time to time.
If I remember correctly, the President can fire any cabinet member. So why would he request Sessions to resign instead of just firing him?