Obama was sworn into the office on January 20, 2009. The cutoff date for the Nobel prize nomination is January 31 of the year. He had been in office for less than two weeks to be nominated. He accomplished nothing in two weeks that was worthy of the Nobel peace prize awarded him in October, 2009.
It is being said that Trump did not receive the Nobel peace prize this year (his first year in office this term) because he had to be nominated by January 31 of 2025. Obama received the Nobel prize in 2009, his first year in office.That means he had to be nominated by January 31 of 2009, after being in office for 11 days.
The Nobel prize committee has demonstrated political partisanship.