Pyotr realized that everyone expected him to marry Nastya during a gathering where friends and family openly discussed their future plans and hinted at their union. It became apparent to him when he noticed the way people looked at them, assuming their relationship was destined for marriage. This pressure weighed heavily on him, causing him to reflect on his own feelings and the expectations placed upon him.