The tension is building as the partial government shutdown enters its third week, with federal workers going unpaid and many government programs at a standstill as Democrats and President Donald Trump battle over border wall funding.

But the hardships aren't being borne equally.

A new study by WalletHub shows that some states are being hit especially hard by the shutdown, which forces certain federal employees to work without pay or go on furlough. This includes over 41,000 law enforcement officers, 52,000 IRS workers and 96 percent of NASA employees, according to WalletHub.

The report looked at the 50 states and the District of Columbia to assess how they've been impacted by the temporary cut in staff and services.

"They range from each state’s share of federal jobs to federal contract dollars per capita to the share of families receiving food stamps," WalletHub said, adding that national parks access also figured into the results.

WalletHub noted that the longest shutdown ever was 21 days under President Bill Clinton, and that only seven shutdowns have ever lasted 10 days or longer. This is the third shutdown under the Trump administration, with the previous ones lasting only one day and three days, WalletHub said.

These are the states WalletHub said are most impacted by the government shutdown:

10. Arizona

The state has about 55,000 federal employees, according to news reports. Grand Canyon National Park, the state's top tourist attractions, remains open for now.