Both were at a depth of about 35km below the surface.
Some slight shaking was felt in Ecuador's capital of Quito, which is 153km to the southeast.
The quakes hit in the same general region where a magnitude 7.8 quake struck in the town of Pedernales on April 16, in Ecuador's worst natural disaster in decades, killing 663 people and leaving nearly 29,000 homeless.
David Zinger, whose son has been working in Ecuador as a volunteer following the April quake, described his son's concern about the new quakes.
Los Angeles Fox News reporter Gigi Graciette, who is 5437km away, also tweeted her concern, saying her dogs had woken up and were nervous. She wondered if that was because of the Ecuador quake.
Graciette, who reports for Fox 11 and Good Day LA, works as a dogcatcher in her spare time.
Ecuador's Geophysics Institute says there have been more than 2100 aftershocks since the April quake, including several around magnitude 6.
Additional reporting by AP.