Item's stock ledger qty, batch expiry qty are not aligned with stock projected qty

In Stock Ledger and batch expiry qty the items has still qty appearing while when opened in stock projected qty, the qty became 0.