What's the difference between Id's query and Term Query when finding documents by “_id”?

I can not use the first option in my case, as I am using alias(named "order") and my alias is pointing towards multiple indices (i.e index "order_2020" and "order_2021").

In these case, the first option throws exception saying that alias is pointing towards multiple index, cant perform operation on single index.