Because every Congress is sovereign. Trump wants the money now for construction. The rest can be renegotiated in later bills. Also remember no matter what bill is signed to reopen the government Trump can still declare a national emergency at the border anyway. So fuck you Pelosi.