I understand that in real-life situations, people generally expect privacy and peace while using the toilet. Most people would prefer not to be interrupted or engaged in conversation during such moments. It's considered courteous to respect someone's privacy and give them space while they are in the restroom.
If a friend were to accidentally enter the toilet stall while you were using it, they would likely apologize and quickly leave to give you privacy. If they started a conversation, it might be awkward and uncomfortable for both parties involved. It's always good to be mindful of people's personal boundaries and the appropriate settings for social interactions.