The objective of politicians is to get elected to office and remain in office.
Votes to a politician are like profits to a firm, so they propose policies that they expect to attract enough votes to get elected.
Bureaucrats produce the public goods and services.