Mortgage Closing Costs

Why does a poor state like NM rank among the highest in mortgage closing costs? Could it be excessive regulation?
HT: Craig Newmark