SOFIA, Bulgaria (AP) _ Foreign Minister Hans-Dietrich Genscher of West Germany ended talks Friday with Bulgarian leaders that reflected disagreements between NATO and the Warsaw Pact members, the official BTA news agency reported.

Genscher met with President Todor Zhivkov and Foreign Minister Petar Mladenov during his two-day visit. The two sides expressed satisfaction about bilateral relations but differed on East-West affairs, according to BTA.

Genscher, at a news conference, ''tried to justify the approval on the part of Bonn of the U.S. 'Star Wars' program'' BTA said. ''Star Wars'' referred to the Reagan administration's planned Strategic Defense Initiative involving research into the concept of a space-based anti-missile program.

Such research is opposed by Bulgaria and the rest of the Soviet-led Warsaw Pact.

Genscher previously visited the Soviet Union and Poland on his tour of East-bloc countries.