Both sides have moved troops toward their shared border, while Ethiopia has accused Eritrea of occupying part of its territory.