Lots of these beetles on the sand dunes, varying in length from 11-14mm. They look a bit like Necrodes littoralis?
No interactions present.
Looks like Erodius goryi or carinata from sources I've checked for Iberian tenebrionids in trying to ID a smoother one, which I think is E tibialis.
Nick Upton, naturalist and photographer.
Lat/Lng: 36.7343107, -3.9826854