Kabul, Afghanistan (CNN) Afghanistan's ambassador to Pakistan appears to have threatened to resign if relations are not improved between the two neighbors.

"I don't see any reason for me to continue my current job" unless Pakistan suspended its construction of new installations at the busiest border crossing between the two countries, Dr. Omar Zakhilwal said.

He made the comments in a Facebook post published on his verified account on Thursday.

When asked to clarify the statement, the diplomat told CNN by telephone "I'm not going into the details of that any further than what I said there."

On Sunday, long-simmering tensions between the two neighbors exploded into deadly violence at the Torkham border gate.

Read More