The t test is often used to evaluate the difference in the means on some outcome variable between two groups, say an intervention and control group. Propensity score matching is a pre-analysis techniques that can be used to achieve balance in the two groups on potential confounders thereby making them more comparable. Simple comparison of means may be very misleading.
See Article An Introduction to Propensity Score Methods for Reducing the...