why it's tie? i almost win.

Hey! This is a stalemate because the black king has no legal moves but is not in check. You can read more here: https://www.chess.com/terms/stalemate-chess
The best way to avoid stalemate when you're winning like this is to deliver checks so that the game eventually ends in checkmate once you check the king and it has no more legal moves.