It could be the heat. Last year, when we had heat waves in June and the first half of July, mine seemed happy at first But then they just shut down.
The tomatoes came back quickly, but the peppas didn't start setting fruit till much later than usual, and never did produce as well as they usually do.