They may think you are an easier casual hookup if it was recent. They may not want to deal with your emotional baggage if it was recent. They may be concerned that you are not relationship material if it has been really long. Or, like Goldilocks and the Three Bears, they might feel like the time is just right and they are interested in the possibility of pursuing a relationship with you. I digress.