This isn't the first time I've had this happen, and it is completely bizarre. I can't imagine the mindset that seeks out someone else's tweets, replies to one of those tweets, then immediately blocks this person who'd been minding their business who you just replied to.https://twitter.com/e_urq/status/1363234156398977029 …
You could also code it to automatically delete recent replies to a user you're now blocking (removing all replies within a certain recent time period like 10 mins), and have something that informs the user of this.